package sk.stuba.fiit.repka.dp.owl;

import java.util.ArrayList;
import java.util.List;

public class OWLProperty extends OWLComponent{
	private List<MyOWLClass> domains;
	
	public OWLProperty(String name) {
		super(name);
	}
	
	public OWLProperty(String name, OWLProperty subProperty) {
		super(name, subProperty);
	}

	public List<MyOWLClass> getDomains() {
		if(this.domains == null) {
			this.domains = new ArrayList<MyOWLClass>();
		}
		return this.domains;
	}
}
